package cn.tedu.jws.admin.service.impl;

import cn.tedu.jws.admin.mapper.EmployMapper;
import cn.tedu.jws.admin.pojo.vo.TeemEmployListItemVO;
import cn.tedu.jws.admin.service.TeemEmployService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class TeemEmployServiceImpl implements TeemEmployService {
    @Autowired
    private EmployMapper employMapper;

    @Override
    public List<TeemEmployListItemVO> list() {
        log.debug("开始处理【团队管理-员工列表】的业务，无参数");
        List<TeemEmployListItemVO> list =employMapper.list();
        return list;
    }
}
